package com.tuinui.trade.entry;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: kaweepapkongkittisan
 * Date: 5/22/13
 * Time: 11:47 PM
 * To change this template use File | Settings | File Templates.
 */

public class TransactionEntry {

    long id;
    String action; //BUY or SELL

    String symbol;
    Date date;
    BigDecimal volume;
    BigDecimal price;
    long originalTransaction;
    String owner;

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public long getOriginalTransaction() {
        return originalTransaction;
    }

    public void setOriginalTransaction(long originalTransaction) {
        this.originalTransaction = originalTransaction;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

}
